Skip to content

Implement Branch Connection View for Postgres and Vitess#1274

Merged
bwarminski merged 1 commit into
mainfrom
bwarminski/branch-connections
Jun 12, 2026
Merged

Implement Branch Connection View for Postgres and Vitess#1274
bwarminski merged 1 commit into
mainfrom
bwarminski/branch-connections

Conversation

@bwarminski

Copy link
Copy Markdown
Contributor

This add pscale branch connections {show, top, kill, kill-transaction}. It includes:

  • an interactive top-stye TUI that polls, captures, and replays live connections on Planetscale databases
  • agent (and human) friendly commands to grab the latest process lists
  • functionality that uses the admin connection pools to cancel or terminate queries and connections even in cases where the database connection pool is full

Add `pscale branch connections {show, top, kill, kill-transaction}`: a one-shot
list and an interactive TUI that polls, captures, and replays live connections.
The engine is detected per database; `branch processlist` remains as a hidden
compatibility alias.
@bwarminski bwarminski requested a review from a team as a code owner June 12, 2026 20:27

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b9bdf39. Configure here.

Comment thread internal/cmd/branch/connections/headless.go
@bwarminski bwarminski requested review from a team, piki, rafer and tkaemming June 12, 2026 20:37
@bwarminski bwarminski merged commit 0ae90f4 into main Jun 12, 2026
4 checks passed
@bwarminski bwarminski deleted the bwarminski/branch-connections branch June 12, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants